#ifndef COLLISION_H
#define COLLISION_H

struct Collision;

#include "coordinate.h"
class Geometry;
class Material;

struct Collision
{
  Coordinate pos, normal, src;
  double u, v, ior;
  double distance;
  const Geometry *parent;
  Material *material;
  unsigned short recursionLevel;
  bool isValid;
};

#endif

